<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>南开大学软件工程课程后台管理系统</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<style type="text/css">
		* {
			font-family: "黑体";
		}
		a {
			text-decoration: none;
			color: #844297;
		}
		#con{
			width: 300px;
			height: 300px;
			color: red; 
			padding: 100px 480px;
			text-align: center;
		}
		#con p {
			font-size: 30px;
		}
		
		</style>
<s:if test="#session.admin==null">
	<script>
		self.top.location.href = '../login.jsp';
	</script>
</s:if>
	</head>

	<body>
		<div id="con">
			<s:fielderror />
			<p>抱歉~~发生错误了错误</p>
			<img alt="错误" src="./images/error.png"></img>	</br>	
			<a href="./administrator.jsp">请点击我回到后台主页！！！</a>	
		</div>
	</body>
</html>
